package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.RoomageMapper;
import cn.com.pet.common.entity.Roomage;
import cn.com.pet.common.service.RoomageService;
@Service("roomageService")
public class RoomageServiceImpl implements RoomageService {
	
	@Autowired
	RoomageMapper roomageMapper;

	@Override
	public List<Roomage> getRoomages(Roomage roomage) {
		// TODO Auto-generated method stub
		return roomageMapper.getRoomages(roomage);
	}

	@Override
	public void addRoomage(Roomage roomage) {
		// TODO Auto-generated method stub
		roomageMapper.addRoomage(roomage);
	}

	@Override
	public void updateRoomage(Roomage roomage) {
		// TODO Auto-generated method stub
		roomageMapper.updateRoomage(roomage);
	}

	
}
